hvmloader: reduce minimum allocation alignment from 1024 bytes to 16.
authorIan Campbell <ian.campbell@citrix.com>
Fri, 3 Jun 2011 16:21:28 +0000 (17:21 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 3 Jun 2011 16:21:28 +0000 (17:21 +0100)
commitab0e7218e783e44e31001069e7201e67d1b9e38c
treeec421ab2c444e6a90940388470032e92f91bcd43
parent4bf3ca7bdbf89882bfa887f451843192fa275461
hvmloader: reduce minimum allocation alignment from 1024 bytes to 16.

1024 bytes create a lot of wastage when the majority of allocations
are of BIOS table data structures which are generally happy with much
lower alignment. I conservatively chose 16 bytes.

Most callers pass 0 for the alignment anyway, for the rombios high
code allocation I kept it 1024 byte aligned since it was the only case
that didn't seem obviously ok with a smaller alignment.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
tools/firmware/hvmloader/32bitbios_support.c
tools/firmware/hvmloader/util.c